package com.jxtti.model;

import java.io.Serializable;

/**
 * 菜单信息
 * 
 * @author minshui
 * 
 */
public class Menu implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5151513148082135929L;

	/**
	 * 菜单根节点ID
	 */
	public static final Short ROOT_ID = 0;

	/**
	 * 菜单ID
	 */
	private String id;

	/**
	 * 菜单名称
	 */
	private String name;

	/**
	 * 菜单地址
	 */
	private String url;

	/**
	 * 显示顺序
	 */
	private Byte displayOrder;

	/**
	 * 是否生效（1生效，0不生效）
	 */
	private Byte valid;

	/**
	 * 是否有子菜单（1有子菜单，0没有子菜单）
	 */
	private Byte hasChild;

	/**
	 * 父节点ID
	 */
	private Short parentId;

	/**
	 * 操作权限是否可配置（0不可配置，1可配置）
	 */
	private Short hasActionConfig;

	/**
	 * 所属系统ID
	 */
	private Short sysId;

	/**
	 * 所属系统名
	 */
	private String sysName;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Byte getDisplayOrder() {
		return displayOrder;
	}

	public void setDisplayOrder(Byte displayOrder) {
		this.displayOrder = displayOrder;
	}

	public Byte getValid() {
		return valid;
	}

	public void setValid(Byte valid) {
		this.valid = valid;
	}

	public Byte getHasChild() {
		return hasChild;
	}

	public void setHasChild(Byte hasChild) {
		this.hasChild = hasChild;
	}

	public Short getParentId() {
		return parentId;
	}

	public void setParentId(Short parentId) {
		this.parentId = parentId;
	}

	public Short getHasActionConfig() {
		return hasActionConfig;
	}

	public void setHasActionConfig(Short hasActionConfig) {
		this.hasActionConfig = hasActionConfig;
	}

	public Short getSysId() {
		return sysId;
	}

	public void setSysId(Short sysId) {
		this.sysId = sysId;
	}

	public String getSysName() {
		return sysName;
	}

	public void setSysName(String sysName) {
		this.sysName = sysName;
	}

}
